Pixeldev\SquareWooSync\Square\SquareHelper C

Total Complexity 101
Dependencies 4
Dependents 11
Total lines 746
Lines of code 386
Logical lines of code 210
Comment lines 211
Methods 23
Properties 5

Methods 23

Method Rating Maintainability Complexity Lines of code
update_square_product()
C
36 23 76
square_api_request()
A
40 11 54
update_simple_product_variation()
A
53 8 22
update_variable_product_variations()
A
55 8 18
updated_inventory_data()
S
54 6 21
get_inventory()
S
55 5 18
process_queue()
S
55 4 21
decrypt_access_token()
S
59 4 14
update_webhook_subscription_status()
S
60 3 12
get_webhook_subscriptions()
S
62 3 11
resolve_access_token()
S
63 3 11
update_variations()
S
59 2 16
getVariationByParentId()
S
67 3 8
getVariationById()
S
67 3 8
update_inventory()
S
50 1 30
get_token_and_validate()
S
64 3 10
get_square_item_details()
S
66 2 8
encrypt_access_token()
S
64 2 9
is_token_valid()
S
73 2 4
get_access_token()
S
71 2 5
__construct()
S
80 1 3
queue_request()
S
74 1 4
get_active_token()
S
82 1 3